-- GENERATED SPELL FOR [Snowdrift Jormungar] --


function spell0_29390(pUnit, Event) --@Corrosive Poison,n/a--
pUnit:FullCastSpellOnTarget(50293,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29390', 13500, 1)
end

function Sorts_29390(pUnit, Event)
local choix_sorts_29390 = math.random(0, 0)
if choix_sorts_29390 == 0 then
pUnit:RegisterEvent('spell0_29390', 1, 1)
end
end

function mob29390_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29390', math.random(1500, 3000), 1)
end

function mob29390_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29390_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29390_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29390, 1, 'mob29390_Action')
RegisterUnitEvent(29390, 2, 'mob29390_Leave')
RegisterUnitEvent(29390, 3, 'mob29390_Kill')
RegisterUnitEvent(29390, 4, 'mob29390_Die')
